<?php
defined('BASEPATH') OR exit('No direct script access allowed');

$route['default_controller'] = 'index/index';

$route['404_override']         = 'index/not_found';
$route['translate_uri_dashes'] = false;

$route['menu'] = 'index/menu';//banner图

$route['about']             = 'index/about';//关于我们
$route['about_show/(:num)'] = 'index/about_show/$1';//个人资料

$route['service']        = 'index/service';//服务
$route['service/(:num)'] = 'index/service/$1';//服务

$route['properties']               = 'index/properties';//物业
$route['properties/(:num)']        = 'index/properties/$1';//物业分页首页
$route['properties/(:num)/(:num)'] = 'index/properties/$1/$2';//物业分页
$route['properties_show/(:num)']   = 'index/properties_show/$1';//物业详情
$route['properties_show2/(:num)']  = 'index/properties_show2/$1';//物业详情2
$route['properties_show3/(:num)']  = 'index/properties_show3/$1';//物业详情3
$route['properties_show4/(:num)']  = 'index/properties_show4/$1';//物业详情4

$route['press']               = 'index/press';//住宅
$route['press/(:num)']        = 'index/press/$1';
$route['press/(:num)/(:num)'] = 'index/press/$1/$2';
$route['press_show/(:num)']   = 'index/press_show/$1';

$route['page/(:num)'] = 'index/page/$1';
$route['brand']       = 'index/page/2';
$route['company']     = 'index/page/1';

$route['contact'] = 'index/contact';

$route['join'] = 'index/join';

$route['price'] = 'index/price';

$route['news']                    = 'index/news';//获奖
$route['news_list']               = 'index/news_list';//新闻分页
$route['news_list/(:num)']        = 'index/news_list/$1';//新闻
$route['news_list/(:num)/(:num)'] = 'index/news_list/$1/$2';//新闻翻页
$route['news_show/(:num)']        = 'index/news_show/$1';//新闻详情

$route['news/(:num)']        = 'index/news/$1';
$route['news/(:num)/(:num)'] = 'index/news/$1/$2';

$route['admin']       = 'home/admin_login';
$route['email_add']   = 'index/email_add';
$route['message_add'] = 'index/message_add';